<template>
  <div class="box">
      <slot name='text'><p>点击报名</p></slot>
      <slot name='time'><p>2020-08-08 15:17至2020-08-08 15:17</p> </slot>
  </div>
</template>

<script>
export default {
    name:'box',
}
</script>

<style lang="less" scoped>
.box{
    width: 100%;
    background-color: #ff6700;
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    height: 4rem;
    line-height: 2rem;
    position: fixed;
    top: calc(100% - 4rem);
}
</style>